package com.hengpeng.itfinbase.persist;

import javax.persistence.Column;
import javax.persistence.Entity;

import com.hengpeng.common.persist.entity.AbstractTableAutoIdEntity;
import com.hengpeng.common.web.annotation.HtmlInput;
import com.hengpeng.common.web.annotation.HtmlInputType;

/**
 * <pre>
 * 新闻分组,前台新闻显示
 * </pre>
 * @author chenjian
 * @version 1.0, 2012-7-9
 */
@Entity
public class ArticleGroup extends AbstractTableAutoIdEntity
{
	private static final long serialVersionUID = 5834369166564896062L;

	@HtmlInput(label = "名称", type = HtmlInputType.TEXT, index = 1, nullable = false)
	@Column(length = 50)
	private String name;

	@HtmlInput(label = "描述", type = HtmlInputType.TEXT, index = 2, nullable = false)
	@Column(length = 100)
	private String remark;

	public String getName()
	{
		return name;
	}

	public String getRemark()
	{
		return remark;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public void setRemark(String remark)
	{
		this.remark = remark;
	}
}
